from pybloom_live import BloomFilter


set_of_whiteList = {}


async def put_white_list(version_bid: str, white_list: BloomFilter):
    set_of_whiteList.update({version_bid: white_list})


async def get_white_list(version_bid: str) -> BloomFilter:
    return set_of_whiteList.get(version_bid)
